﻿@using KimPhongCRM.Models
@model tblTour
@{
    Layout = "~/Views/Shared/_PartialLayout.cshtml";
    ViewBag.Title = "Details";
}
<script>
    $(document).ready(function () {
        $('#popUpdateContent').live('click', function (event) {
            event.preventDefault();
            window.open($(this).attr('href'));
        });
    });
</script>
<div class="row-fluid bg-white">
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>Tên tour</th>
                <th>@Model.tenTour</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td width:30>Mô tả</td>
                <td class="center">@Model.moTa</td>
            </tr>

            <tr>
                <td width:30>Ngày khởi tạo</td>
                <td class="center">@Model.ngayNhap.ToShortDateString()</td>
            </tr>

            <tr>
                <td>Giá tour</td>
                <td class="center">@Model.giaTien</td>
            </tr>
        </tbody>
    </table>
    <p style="text-align: center;"><a id="popUpdateContent" target="_blank" href="@Url.Action("Edit", "Tour", new {id=Model.maTour })" class="btn btn-large btn-info">Cập nhật thông tin</a></p>

</div>
